import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

import plugins from './plugins'
import library from './library'

plugins.init()
library.init(Vue)

if (!process.env.IS_WEB) Vue.use(require('vue-electron'))

// if(process.env.NODE_ENV === 'development')   require('./mock')

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  components: { App },
  router,
  store,
  template: '<App/>'
}).$mount('#app')
